package com.iqiyi.game.ams.domain.acitivty.entity.module;

import com.iqiyi.game.ams.domain.core.entity.ValueObject;
import lombok.Data;

/**
 * @author hanbaoyu
 */

@Data
public class User implements ValueObject {
    private Integer userId;
    private String name;
    private String nickname;
    private Integer vipLevel;


    public static User get(Integer userId) {
        // 模拟从接口获取用户信息
        User user = new User();
        user.setUserId(userId);
        user.setName("Han");
        user.setNickname("hanhan");
        user.setVipLevel(10);

        return user;
    }
}
